@define-color background #fafafa;
@define-color foreground #383a42;
@define-color cursorColor #526eff;

* {
    border: none;
    border-radius: 0;
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: Futura Bk BT, Material Design Icons;
    font-size: 13px;
    min-height: 0;
}

window#waybar {
    background-color: transparent;
    border-bottom: 0px solid rgba(100, 114, 125, 0.5);
    color: #FFF;
    transition-property: background-color;
    transition-duration: .5s;
}

window#waybar.hidden {
    opacity: 0.2;
}

#workspaces {
    margin: 3px;
    background-color: transparent;
}

#workspaces button {
    padding: 0 0 0 0;
    margin: 0px 2px 0px 2px;
    min-width: 0;
    background-color: transparent;
    color: @foreground;
    box-shadow: inset 0 -3px transparent;
}

#workspaces.focus button.focused {
    color: #FFF;
    padding: 2.8 3px;
    margin: 0px;
    border-radius: 10px;
    background-color: #5193FF;
}

#mode {
    background-color: @cursorColor;
    color: @background;
    border-radius: 10px;
    margin: 3px 0 3px 0;
    padding: 0 5px;
}

#window {
    margin: 0 4px;
}

#pulseaudio, #battery, #network {
    padding: 0 10px;
    margin: 3px 0px 3px 0px;
    background-color: #5193FF;
    color: #FFF;
}

#pulseaudio {
    border-radius: 10px 0px 0px 10px;
}

#network {
    border-radius: 0px 10px 10px 0px;
    margin: 3px 3px 3px 0;
}

#battery.charging {
    color: #6BFF00;
}

@keyframes blink {
    to {
        background-color: #ffffff;
        color: #000000;
    }
}

#battery.critical:not(.charging) {
    color: #FF2200;
    animation-name: blink;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

#clock {
    color: #FFF;
    padding: 2.8 3px;
    border-radius: 10px;
    background-color: #5193FF;
}

label:focus {
    background-color: #000000;
}

#network.disconnected {
    color: #000;
}

#pulseaudio.muted {
    color: #5C6370;
}
